// import React from 'react';
import ReactDOM from 'react-dom';

import SubCom from './sub'

const age = 19
ReactDOM.render(<div>
    这里是父组件
    <SubCom title="abc" age={age} />  
    </div>,  document.getElementById('root')) 